package com.linrui.market.domain;

import java.util.Date;
import com.linrui.basic.domain.BaseDomain;
import com.linrui.org.domain.Employee;
import com.linrui.sys.domain.Dictionaryitem;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrui
 * @since 2022-10-24
 */
public class Clue extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 全名
     */
    private String full_name;
    /**
     * 称呼
     */
    private String appellation;
    private String company;
    private String job;
    private String email;
    private String phone;
    private String mphone;
    private String address;
    /**
     * 客户来源，关联向数据字典明细
     */
    private Long source;
    /**
     * 营销人员，关联向员工表
     */
    private Long owner;
    /**
     * 未分配  跟进中 已转化为商机 放入线索池
     */
    private Integer state;
    private String create_by;
    private Date create_time=new Date();
    private String edit_by;
    private Date edit_time=new Date();
    private String description;

    private Dictionaryitem dictionaryitem;

    public String getFull_name() {
        return full_name;
    }

    public void setEdit_time(Date edit_time) {
        this.edit_time = edit_time;
    }

    public Dictionaryitem getDictionaryitem() {
        return dictionaryitem;
    }

    public void setDictionaryitem(Dictionaryitem dictionaryitem) {
        this.dictionaryitem = dictionaryitem;
    }

    public Date getNext_contact_time() {
        return next_contact_time;
    }

    public void setNext_contact_time(Date next_contact_time) {
        this.next_contact_time = next_contact_time;
    }

    private Employee seller;

    public Employee getSeller() {
        return seller;
    }

    public void setSeller(Employee seller) {
        this.seller = seller;
    }

    /**
     * 最近一次跟进概述
     */
    private String contact_summary;
    /**
     * 下一次联系的时间
     */
    private Date next_contact_time;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String Full_name() {
        return full_name;
    }

    public void setFull_name(String full_name) {
        this.full_name = full_name;
    }

    public String getAppellation() {
        return appellation;
    }

    public void setAppellation(String appellation) {
        this.appellation = appellation;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMphone() {
        return mphone;
    }

    public void setMphone(String mphone) {
        this.mphone = mphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getSource() {
        return source;
    }

    public void setSource(Long source) {
        this.source = source;
    }

    public Long getOwner() {
        return owner;
    }

    public void setOwner(Long owner) {
        this.owner = owner;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getEdit_by() {
        return edit_by;
    }

    public void setEdit_by(String edit_by) {
        this.edit_by = edit_by;
    }

    public Date getEdit_time() {
        return edit_time;
    }

    public void Edit_time(Date edit_time) {
        this.edit_time = edit_time;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContact_summary() {
        return contact_summary;
    }

    public void setContact_summary(String contact_summary) {
        this.contact_summary = contact_summary;
    }

    public Date getNext_Contact_Time() {
        return next_contact_time;
    }

    public void setNext_Contact_Time(Date next_contact_time) {
        this.next_contact_time = next_contact_time;
    }

    @Override
    public String toString() {
        return "Clue{" +
        ", id=" + id +
        ", full_name=" + full_name +
        ", appellation=" + appellation +
        ", company=" + company +
        ", job=" + job +
        ", email=" + email +
        ", phone=" + phone +
        ", mphone=" + mphone +
        ", address=" + address +
        ", source=" + source +
        ", owner=" + owner +
        ", state=" + state +
        ", create_by=" + create_by +
        ", create_time=" + create_time +
        ", edit_by=" + edit_by +
        ", edit_time=" + edit_time +
        ", description=" + description +
        ", contact_summary=" + contact_summary +
        ", next_contact_time=" + next_contact_time +
        "}";
    }
}
